package com.lst.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lst.tools.mybatis.entity.DeleteBaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 订单合同表
 *
 * @author Frank
 * @date 2020-02-05 23:28:26
 * @version: V1.0
 */
@Data
@NoArgsConstructor
@TableName(value = "lst_order_contract")
@ApiModel(value = "订单合同表")
public class OrderContract extends DeleteBaseModel {

    public static final String APPLY_NO = "apply_no";
    public static final String PROMO_USER_ID = "promo_user_id";
    public static final String ORDER_ID = "order_id";
    public static final String PRODUCT_ID = "product_id";
    public static final String NAME = "name";
    public static final String ID_CARD_NO = "id_card_no";   
    public static final String LOAN_TYPE = "loan_type";
    public static final String SERVICE_FEE = "service_fee";
    public static final String GUARANTEE_FEE = "guarantee_fee";
    public static final String ACCOUNT_MANAGEMENT_FEE = "account_management_fee";
    public static final String RISK_GUARANTEE_FEE = "risk_guarantee_fee";
    public static final String CHANNEL_AGENT_FEE = "channel_agent_fee";
    public static final String INVOICE_RATE = "invoice_rate";
    public static final String INFORMATION_FEE = "information_fee";
    public static final String ADVANCE_FEE = "advance_fee";
    public static final String PREPAYMENT_FEE = "prepayment_fee";
    public static final String MORTGAGE_REGISTRATION_QUERY_FEE = "mortgage_registration_query_fee";
    public static final String MORTGAGE_EMERGENCY_FEE = "mortgage_emergency_fee";
    public static final String RECEIVE_ADVANCE_MONEY = "receive_advance_money";
    public static final String SIGN_URL = "sign_url";
    public static final String CONTRACT_URL = "contract_url";
    public static final String PHOTO_URLS = "photo_urls";
    public static final String REMARK = "remark";

    @ApiModelProperty(name = "applyNo", value = "申请编号", dataType = "String")
    @TableField(value = APPLY_NO)
    private String applyNo;

    @ApiModelProperty(name = "promoUserId", value = "推销员用户id", dataType = "Long")
    @TableField(value = PROMO_USER_ID)
    private Long promoUserId;

    @ApiModelProperty(name = "orderId", value = "订单id", dataType = "Long")
    @TableField(value = ORDER_ID)
    private Long orderId;

    @ApiModelProperty(name = "productId", value = "产品id", dataType = "Long")
    @TableField(value = PRODUCT_ID)
    private Long productId;

    @ApiModelProperty(name = "name", value = "姓名", dataType = "String")
    @TableField(value = NAME)
    private String name;

    @ApiModelProperty(name = "idCardNo", value = "身份证号", dataType = "String")
    @TableField(value = ID_CARD_NO)
    private String idCardNo;

    @ApiModelProperty(name = "loanType", value = "贷款种类", dataType = "String")
    @TableField(value = LOAN_TYPE)
    private String loanType;

    @ApiModelProperty(name = "serviceFee", value = "服务费，单位元", dataType = "Double")
    @TableField(value = SERVICE_FEE)
    private Double serviceFee;

    @ApiModelProperty(name = "guaranteeFee", value = "担保费，单位元", dataType = "Double")
    @TableField(value = GUARANTEE_FEE)
    private Double guaranteeFee;

    @ApiModelProperty(name = "accountManagementFee", value = "账户管理费，单位元", dataType = "Double")
    @TableField(value = ACCOUNT_MANAGEMENT_FEE)
    private Double accountManagementFee;

    @ApiModelProperty(name = "riskGuaranteeFee", value = "风险保证金，单位元", dataType = "Double")
    @TableField(value = RISK_GUARANTEE_FEE)
    private Double riskGuaranteeFee;

    @ApiModelProperty(name = "channelAgentFee", value = "渠道代理费，单位元", dataType = "Double")
    @TableField(value = CHANNEL_AGENT_FEE)
    private Double channelAgentFee;

    @ApiModelProperty(name = "invoiceRate", value = "发票费-百分比，单位%", dataType = "Double")
    @TableField(value = INVOICE_RATE)
    private Double invoiceRate;

    @ApiModelProperty(name = "informationFee", value = "资料费，单位元", dataType = "Double")
    @TableField(value = INFORMATION_FEE)
    private Double informationFee;

    @ApiModelProperty(name = "advanceFee", value = "垫资费，单位元", dataType = "Double")
    @TableField(value = ADVANCE_FEE)
    private Double advanceFee;

    @ApiModelProperty(name = "prepaymentFee", value = "预付金，单位元", dataType = "Double")
    @TableField(value = PREPAYMENT_FEE)
    private Double prepaymentFee;

    @ApiModelProperty(name = "mortgageRegistrationQueryFee", value = "抵押登记查询费，单位元/笔", dataType = "Double")
    @TableField(value = MORTGAGE_REGISTRATION_QUERY_FEE)
    private Double mortgageRegistrationQueryFee;

    @ApiModelProperty(name = "mortgageEmergencyFee", value = "抵押加急费，单位元", dataType = "Double")
    @TableField(value = MORTGAGE_EMERGENCY_FEE)
    private Double mortgageEmergencyFee;

    @ApiModelProperty(name = "receiveAdvanceMoney", value = "收取方式-预付定金，单位元", dataType = "Double")
    @TableField(value = RECEIVE_ADVANCE_MONEY)
    private Double receiveAdvanceMoney;

    @ApiModelProperty(name = "signUrl", value = "签名图片url", dataType = "String")
    @TableField(value = SIGN_URL)
    private String signUrl;
    
    @ApiModelProperty(name = "contractUrl", value = "合同url", dataType = "String")
    @TableField(value = CONTRACT_URL)
    private String contractUrl;

    @ApiModelProperty(name = "photoUrls", value = "现在照片url集合，格式[url,url,url]", dataType = "String")
    @TableField(value = PHOTO_URLS)
    private String photoUrls;

    @ApiModelProperty(name = "remark", value = "补充说明", dataType = "String")
    @TableField(value = REMARK)
    private String remark;


}